dsh-codex-approval:DeepSeek Harness 的 Codex 式审批插件

dsh-codex-approval 是面向 DeepSeek Harness (dsh) 的 MIT 许可插件,旨在通过更细粒度的决策链解决工具审批过粗或过松的问题。该插件在 `approval/request` 环节引入三层机制:首先执行显式规则层,支持按命令或原因匹配并设定 allow、ask、deny 动作,其中 deny 优先级最高;其次引入 AI 审判层,当规则未命中时,由 AI 评估风险并映射为具体动作,支持配置模型、风险容忍度及超时策略;最后由人类兜底,在 AI 失败或需确认时交由人工处理。插件提供 manual、ai 和 ai-auto 三种模式,后者在自动拒绝或放行未决请求

Read More
dsh-governed-workflow:给 DSH 增加任务授权、生命周期与验收边界

dsh-governed-workflow 是一款面向 DeepSeek Harness agents 的社区插件,旨在解决智能体开发中任务边界漂移及权限滥用问题。其核心理念是将 Agent 工作流从直接修改转为“确认权限、受控执行、独立验收”的严格序列。 该插件引入基于公开 GitHub Issue 的任务权限(Authority)机制,并实施生命周期状态机管理(观察、准入、运行、阻塞/完成、待审)。关键特性包括“RUNNING-only 修改守卫”,即仅当任务处于 RUNNING 状态且权限有效时,才允许执行 bash、write、edit 等敏感操作;任务进入终态后自动冻结修改权限,并将

Read More
dsh-docker:DSH 的 Docker 容器管理插件

dsh-docker 是 DSH 的容器管理插件,旨在让智能体安全地操作本地 Docker 对象。该插件通过官方 subprocess 服务调用 Docker CLI,使用 argv 数组传参以规避 shell 注入风险,并在 `docker_exec` 中保留默认审批机制。它提供六个核心工具:`docker_ps`(列出容器)、`docker_images`(列出镜像)、`docker_logs`(查看日志)、`docker_inspect`(容器详情)、`docker_exec`(容器内执行命令)及 `docker_manage`(生命周期管理,如启动、停止、重启、删除)。插件要求 Nod

Read More
DSH-Approval-Gate: DeepSeek Harness Automatic Approval Gating Plugin

dsh-approval-gate is an MIT-licensed plugin for DeepSeek Harness, designed to balance the efficiency of automated approval with security. It leverages Flash models to perform risk pre-assessment on sandbox escape operations, categorizing them into SAFE and RISKY types. For reversible, low-risk operations, the plugin uses a confirmation-based learning mechanism to automatically approve them, reducing repetitive manual confirmations. For the five categories of hard-risk operations—deletions, credential handling, remote/production environments, system paths, and irreversible batch operations—it always routes to manual confirmation to ensure critical security. The plugin provides a manual review UI to display the approval timeline and supports hot-reloading of configurations. Version v0.5.0 introduces file change comparison and one-click revert functionality, allowing users to view unified diffs and restore files based on session snapshots. Users need to install it via the command line.

Read More